package com.mockapi.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 路由请求DTO
 */
@Data
public class RouteRequest {

    @NotBlank(message = "路由名称不能为空")
    private String name;

    @NotBlank(message = "URL路径不能为空")
    private String path;

    @NotBlank(message = "HTTP方法不能为空")
    private String method;

    private Integer priority = 0;

    private Long templateId;

    private Integer delayMs = 0;

    private Boolean enabled = true;
} 